﻿@model EventSys.BussinesEntities.Inscripcion
@{
    var ajaxoption = new AjaxOptions() {
        //Url = Url.Action("_Create"),
        OnSuccess = "OnSuccessCreate"
    };
 }

<div id="dialogAdd" title="Registar">
@using (Ajax.BeginForm(null, null, ajaxoption, new {id = "frmCreate",name="frmCreate" }))
    @Html.ValidationSummary(true)

    <fieldset>
        <legend>Inscripcion</legend>

        <div class="editor-label">
            @Html.LabelFor(model => model.idInscripcion)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.idInscripcion)
            @Html.ValidationMessageFor(model => model.idInscripcion)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.idParticipante)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.idParticipante)
            @Html.ValidationMessageFor(model => model.idParticipante)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Monto)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Monto)
            @Html.ValidationMessageFor(model => model.Monto)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.TotalInscritos)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.TotalInscritos)
            @Html.ValidationMessageFor(model => model.TotalInscritos)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.idFormaPago)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.idFormaPago)
            @Html.ValidationMessageFor(model => model.idFormaPago)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.idActividad)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.idActividad)
            @Html.ValidationMessageFor(model => model.idActividad)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.idEvento)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.idEvento)
            @Html.ValidationMessageFor(model => model.idEvento)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.idAsistencia)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.idAsistencia)
            @Html.ValidationMessageFor(model => model.idAsistencia)
        </div>

       @* <p>
            <input type="submit" value="Create" />
        </p>*@
    </fieldset>
}
    </div>

@*<div>
    @Html.ActionLink("Back to List", "Index")
</div>*@
